﻿using System.Collections.Generic;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// EL检测结果
    /// </summary>
    public class VElResult
    {
        /// <summary>
        /// 图片地址
        /// </summary>
        public string Image { get; set; }

        /// <summary>
        /// 异常位置
        /// </summary>
        public List<VElPosition> Positions { get; set; } = new List<VElPosition>();
    }

    /// <summary>
    /// EL异常位置
    /// </summary>
    public class VElPosition
    {
        /// <summary>
        /// EL缺陷名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// EL缺陷位置，多个位置使用逗号分隔
        /// </summary>
        public string Position { get; set; }
    }
}
